//
//  WaterCollectionViewCell.m
//  DoubanDemo1
//
//  Created by lanou3g on 15/12/1.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "WaterCollectionViewCell.h"

@implementation WaterCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self allViews];
    }
    return self;
}

- (void)allViews
{
    self.button = [UIButton buttonWithType:UIButtonTypeSystem];
    self.button.frame = CGRectMake(0, 0, 100, 150);
    
    [self.contentView addSubview:self.button];
    
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 150, 100, 50)];
    self.label.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.label];
}

@end
